TEXFILE = final.tex

all: $(TEXFILE:.tex=.pdf)

$(TEXFILE:.tex=.pdf): $(TEXFILE)
	xelatex -shell-escape $(TEXFILE)
	xelatex -shell-escape $(TEXFILE)

clean:
	rm -f $(TEXFILE:.tex=.aux) $(TEXFILE:.tex=.log) $(TEXFILE:.tex=.out) $(TEXFILE:.tex=.pdf)

